using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars;

namespace Cafe
{
    public partial class FrmMain : DevExpress.XtraBars.Ribbon.RibbonForm
    {
        public FrmMain()
        {
            InitializeComponent();
            this.IsMdiContainer = true; 
        }

        

        private void barButtonItem1_ItemClick(object sender, ItemClickEventArgs e)
        {
            this.Dispose();
        }

        private void btnBan_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cafe.View.FrmDmBan frmDmBan = new Cafe.View.FrmDmBan();
            frmDmBan.WindowState = FormWindowState.Maximized;
            frmDmBan.MdiParent = this;
            frmDmBan.Show();
        }

        private void barButtonItem2_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cafe.View.FrmDmSanPham frmDmSanPham = new Cafe.View.FrmDmSanPham();
            frmDmSanPham.WindowState = FormWindowState.Maximized;
            frmDmSanPham.MdiParent = this;
            frmDmSanPham.Show();
        }

       

        

      


    }
}